<html>
<head><meta charset="utf-8"><title>Issue #1400 · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Issue.20.231400.html">Issue #1400</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="168164087"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Issue%20%231400/near/168164087" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Muhammad Mominul Huque <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Issue.20.231400.html#168164087">(Jun 14 2019 at 19:24)</a>:</h4>
<p>Hi, I have been working on <a href="https://github.com/rust-analyzer/rust-analyzer/issues/1400" target="_blank" title="https://github.com/rust-analyzer/rust-analyzer/issues/1400">this issue</a> to remove the use of failure. But I have stumbled on this: <a href="https://github.com/rust-analyzer/rust-analyzer/blob/84b66107828365d02fd29641fe32b3c42f036864/crates/ra_lsp_server/src/main_loop.rs#L549" target="_blank" title="https://github.com/rust-analyzer/rust-analyzer/blob/84b66107828365d02fd29641fe32b3c42f036864/crates/ra_lsp_server/src/main_loop.rs#L549">https://github.com/rust-analyzer/rust-analyzer/blob/84b66107828365d02fd29641fe32b3c42f036864/crates/ra_lsp_server/src/main_loop.rs#L549</a><br>
As I know there is no method of acquiring  backtrace in std, so should I have to use <a href="https://crates.io/crates/backtrace" target="_blank" title="https://crates.io/crates/backtrace"><code>backtrace</code></a> crate?</p>
<p>Thanks!</p>



<a name="168164121"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Issue%20%231400/near/168164121" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Muhammad Mominul Huque <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Issue.20.231400.html#168164121">(Jun 14 2019 at 19:24)</a>:</h4>
<p>cc <span class="user-mention" data-user-id="133169">@matklad</span></p>



<a name="168164142"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Issue%20%231400/near/168164142" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Issue.20.231400.html#168164142">(Jun 14 2019 at 19:25)</a>:</h4>
<p>I think it's fine to just remove backtrace printing from that method</p>



<a name="168164341"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Issue%20%231400/near/168164341" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Muhammad Mominul Huque <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Issue.20.231400.html#168164341">(Jun 14 2019 at 19:27)</a>:</h4>
<p>It's good then!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>